Ext.define('Era.view.PreviewWindow',{
    extend: 'Ext.window.Window',
    alias: 'widget.previewwindow',
    layout: 'fit',
    
    width: 400,
    height: 400,
    
    modal: false,
    resizable: false,
    closable: false,
    shadow: false,
    
    initComponent: function() {
        this.items = [
            {
                xtype: 'previewscreen',
                record: this.record
            }
        ];
        
        this.callParent(this);
    }
    
    
});
